<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>登录页面</title>
		<link rel="stylesheet" type="text/css" href="http://dingjiangblog.com/public/css/login_register_base.css">
		
		<style>
			body{
				background: #e9ebee;
			}
			.login{
				width:100%;
				
			}

			.login_head{
				width:100%;
				height:100px;
				margin:0 auto;
				background: #365899;
			}
			.login_head_font{
				width:150px;
				height:50px;
				margin-left:200px;
				margin-top:40px;
				float:left;
				color:#fff;
				font-weight: bold;
				font-size:38px;
				text-align: center;
			}

			.login_head a{
				display: block;
				width:60px;
				height:25px;
				float:left;
				margin-top:55px;
				text-align: center;
				padding-top:8px;
				margin-left:5px;
				font-size:14;
				font-weight:bold;
				color:#fff;
				background: #36a420;

			}
	
			.login_form{
				width:500px;
				height:400px;
				background: #fff;
				position:absolute;
				top:50%;
				left:50%;
				margin-top:-170px;
				margin-left: -250px;
				
			}
			
			.login_form1{
				width:260px;
				height:40px;
				margin-top:40px;
				margin-left:100px;
			

			}
		
			.login_put1{
				width:250px;
				height:30px;
				
			}
			.login_form2{
				width:260px;
				height:40px;
				margin-top:30px;
				margin-left:100px;
			}
		
			.login_put2{
				width:250px;
				height:30px;
				
			}
			.login_form3{
				width:260px;
				height:45px;
				margin-top:30px;
				margin-left:100px;
			//	background: red;
				
			}
		
			.login_put3{
				width:100px;
				height:30px;
				margin-top:10px;
				float:left;
			}
			.login_verify{
				width:120px;
				height:40px;
				float:left;
			//	margin-top:5px;
				margin-left:20px;
			//	background:yellow;
			}

			.login_button{
				width:260px;
				height:40px;
				margin-left:100px;
				margin-top:30px;
			
			}

			.login_button input{
				width:250px;
				height:38px;
				margin-left:5px;
				font-size:14px;
				font-weight:bold;
				color:#fff;
				background: #365899;
			

			}
			.login_a{
				display: block;
				width:110px;
				height:30px;
				margin-left:150px;
				margin-top:30px;
				padding-top:10px;
				padding-left:30px;
				font-size:14px;
				font-weight:bold;
				color:#fff;
				background: #36a420;
			}
		
			
		</style>

	</head>

	<body >
		<div class="login">
			<div class="login_head clearFix">
				<div class="login_head_font">blog</div>
				<a href="index.php?m=user&a=register" role="button">注 册</a>
			</div>	

			<div class="login_form">
				<form action="index.php?m=user&a=dologin" method="post" enctype="multipart/form-data">
					<div class="login_form1">
					
						<input class="login_put1" type="text" name="username" value="" maxlength="12" placeholder="用户名"/>
					</div>
				
					<div class="login_form2">
					
						<input class="login_put2" type="password" name="password" value="" maxlength="12" placeholder="密码"/> 
					</div>
					
					<div class="login_form3 clearFix">
						
						<input class="login_put3" type="text" name="verify" value="" maxlength="8" placeholder="验证码"/>
						<div class="login_verify"><img src="{$vendor}verify.php" onclick="this.src='{$vendor}verify.php'"></div>
					</div>
					
					<div class="login_button"><input type="submit" value="登 录" /></div>
					
					<a class="login_a" href="index.php?m=user&a=register" role="button">新 建 账 户</a>
				</form>
			</div>
		</div>
	</body>
</html>